CHR0RSEL=B10, CHR0GN=UNITY, CHR0WCIEN=DISABLED, CHR1RPT=ACC1, CHR1GN=UNITY, CHR1WCIEN=DISABLED, CHR0RPT=ACC1, CHR1RSEL=B10
Conversion Characteristic 0 and 1 Setup
CHR0GN | Conversion Characteristic 0 Gain. 0 (UNITY): The on-chip PGA gain is 1. 1 (HALF): The on-chip PGA gain is 0.5. |
CHR0RPT | Conversion Characteristic 0 Repeat Counter. 0 (ACC1): Accumulate one sample. 1 (ACC4): Accumulate four samples. 2 (ACC8): Accumulate eight samples. 3 (ACC16): Accumulate sixteen samples. 4 (ACC32): Accumulate thirty-two samples (10-bit mode only). 5 (ACC64): Accumulate sixty-four samples (10-bit mode only). |
CHR0LS | Conversion Characteristic 0 Left-Shift Bits. |
CHR0RSEL | Conversion Characteristic 0 Resolution Selection. 0 (B10): Select 10-bit Mode. 1 (B12): Select 12-bit Mode (burst mode must be enabled). |
CHR0WCIEN | Conversion Characteristic 0 Window Comparator Interrupt Enable. 0 (DISABLED): Disable window comparison interrupts. 1 (ENABLED): Enabled window comparison interrupts. The window comparator will be used to check the ADC result on channels that use this characteristic. |
CHR1GN | Conversion Characteristic 1 Gain. 0 (UNITY): The on-chip PGA gain is 1. 1 (HALF): The on-chip PGA gain is 0.5. |
CHR1RPT | Conversion Characteristic 1 Repeat Counter. 0 (ACC1): Accumulate one sample. 1 (ACC4): Accumulate four samples. 2 (ACC8): Accumulate eight samples. 3 (ACC16): Accumulate sixteen samples. 4 (ACC32): Accumulate thirty-two samples (10-bit mode only). 5 (ACC64): Accumulate sixty-four samples (10-bit mode only). |
CHR1LS | Conversion Characteristic 1 Left-Shift Bits. |
CHR1RSEL | Conversion Characteristic 1 Resolution Selection. 0 (B10): Select 10-bit Mode. 1 (B12): Select 12-bit Mode (burst mode must be enabled). |
CHR1WCIEN | Conversion Characteristic 1 Window Comparator Interrupt Enable. 0 (DISABLED): Disable window comparison interrupts. 1 (ENABLED): Enabled window comparison interrupts. The window comparator will be used to check the ADC result on channels that use this characteristic. |